package com.jufanshare.myblog.entity;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;
import org.beetl.sql.core.annotatoin.Table;

import javax.validation.constraints.NotBlank;


/* 
* 
* gen by beetlsql 2019-01-21
*/
@Table(name="myblog.account")
public class Account   {
	public interface LoginGroup{};
	private Integer id ;
	private Integer testloginnumber ;
	private String nickname ;
	@NotBlank(message = "密码不能为空",groups = {LoginGroup.class})
	private String password ;
	private String salt ;
	@NotBlank(message = "账号不能为空",groups = {LoginGroup.class})
	private String username ;
	
	public Account() {
	}
	
	public Integer getId(){
		return  id;
	}
	public void setId(Integer id ){
		this.id = id;
	}
	
	public Integer getTestloginnumber(){
		return  testloginnumber;
	}
	public void setTestloginnumber(Integer testloginnumber ){
		this.testloginnumber = testloginnumber;
	}
	
	public String getNickname(){
		return  nickname;
	}
	public void setNickname(String nickname ){
		this.nickname = nickname;
	}
	
	public String getPassword(){
		return  password;
	}
	public void setPassword(String password ){
		this.password = password;
	}
	
	public String getSalt(){
		return  salt;
	}
	public void setSalt(String salt ){
		this.salt = salt;
	}
	
	public String getUsername(){
		return  username;
	}
	public void setUsername(String username ){
		this.username = username;
	}
	

}
